package com.data4.supplier.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.data4.feignapi.dto.PhonePwdLoginDTO;
import com.data4.feignapi.dto.Result;
import com.data4.feignapi.dto.SupplierDTO;
import com.data4.feignapi.entity.Supplier;
import com.data4.feignapi.vo.SupplierVO;
import jakarta.servlet.http.HttpServletResponse;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Forever
 * @since 2024-12-11
 */
public interface SupplierService extends IService<Supplier> {

    Result login(PhonePwdLoginDTO pwdLoginDTO);

    Result getSupplier(Integer current, Integer num);

    Result register(SupplierDTO supplierDTO);

    SupplierVO getSupplierById(Integer supplierId);
}
